import {
	httpRequest
} from "@/utils/https.js"
import {
	baseUrl
} from "@/utils/basic.js"

//首页数据
/* export const getIndex = () =>
	httpRequest(baseUrl + 'index.php?m=api&c=wxapp&a=index', {}, 'post') */
export const getIndex = () =>
	httpRequest(baseUrl+'index.php?m=api&c=wxapp&a=index', {},'get')	
	
//获取分类
export const getClass = () =>
	httpRequest(baseUrl+'index.php?m=api&c=wxapp&a=getMenuCategory', {},'get')	
//品牌
export const getBrand = () =>
	httpRequest(baseUrl + 'index.php?m=api&c=wxapp&a=indexAllRandList', {}, 'post')
